home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
doom
/
server_1.zip
/
_SERVHLP.QC
< prev
next >
Wrap
Text File
|
1996-10-04
|
3KB
|
101 lines
/*
**
** _servhlp.qc (ServerHelp Code, 1.0)
**
** Copyright (C) 1996 Johannes Plass
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**
** Author: Johannes Plass (plass@dipmza.physik.uni-mainz.de)
**
*/
void(entity player) ServerHelpInit =
{
if (!USE_MODULE_SERVERHELP) return;
stuffcmd(player,"alias help-server \"impulse 207\";\n");
};
void(entity player) ServerHelpInfo =
{
if (!USE_MODULE_SERVERHELP) return;
};
void(entity player) ServerHelpAnnounce =
{
if (!USE_MODULE_SERVERHELP) return;
// 123456789#123456789#123456789#12345678
sprint(player,"\nType 'help-server' for help on server\nproperties.\n\n");
};
void(entity player) ServerHelpShowHelp =
{
if (!USE_MODULE_SERVERHELP) return;
ServerHelpShowServerSettings(player);
sprint(player,"\n");
ModulesShowInfo(player);
};
void(entity player) ServerHelpShowServerSettings =
{
local float num;
local string numstr;
if (!USE_MODULE_SERVERHELP) return;
sprint(player,"\n£££ ");
sprint(player,"Server Settings:\n\n");
// num = cvar("registered");
// numstr = ftos(num);
// sprint(player, " registered: ");
// sprint(player, numstr);
// sprint(player, "\n");
// num = cvar("sys_ticrate");
// numstr = ftos(num);
// sprint(player, " sys_ticrate: ");
// sprint(player, numstr);
// sprint(player, "\n");
// num = cvar("pausable");
// numstr = ftos(num);
// sprint(player, " pausable: ");
// sprint(player, numstr);
// sprint(player, "\n");
num = cvar("sv_aim");
numstr = ftos(num);
sprint(player, " sv_aim: ");
sprint(player, numstr);
sprint(player, "\n");
num = cvar("fraglimit");
numstr = ftos(num);
sprint(player, " fraglimit: ");
sprint(player, numstr);
sprint(player, "\n");
num = cvar("timelimit");
numstr = ftos(num);
sprint(player, " timelimit: ");
sprint(player, numstr);
sprint(player, "\n");
num = cvar("noexit");
numstr = ftos(num);
sprint(player, " noexit: ");
sprint(player, numstr);
sprint(player, "\n");
num = cvar("teamplay");
numstr = ftos(num);
sprint(player, " teamplay: ");
sprint(player, numstr);
sprint(player, "\n");
};